/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once


#include <time.h>
#include <基本类型.h>



Inline int64 time_开始计时() {
	return clock();
}

Inline float32 time_当前时间差(int64& st) {
	int64 et = clock();
	float64 gdur = (float64)(et - st);
	gdur = (gdur * 1000 / CLOCKS_PER_SEC);
	st = et;
	return gdur;
}












